home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
assemblr
/
library
/
asmlib
/
e16.doc
< prev
next >
Wrap
Text File
|
1993-06-03
|
7KB
|
201 lines
E16.COM - a Huge File text editor
Copyright (C) 1993 Douglas Herr
all rights reserved
TINY EDITOR, HUGE FILES: HOW DOES E16 DO IT?
E16 was written in Assembly language making extensive use of ASMLIB
library functions. Using Assembly language and dynamic memory allocation
made E16 small and fast, and using ASMLIB library functions made E16
possible. ASMLIB subroutines load files to & save files from EMS and XMS
memory, provide EMS & XMS search & move functions, hardware detection &
mode switching, filename and search string editing functions, file
back-up services, pop-up selection boxes and much more.
E16 version 1.2 uses EMS 4.0 or XMS memory to edit huge text files, or uses
disk space if sufficient EMS or XMS memory is not available. E16 works
with all common PC processors: 8086, 8088, 286, 386, 486. If both EMS and
XMS memory are available, E16 selects between them based on
1) The size of the memory available
2) E16 ignores XMS as unreliable if EMS is emulated by QEMM, 386MAX or
EMM386
I have edited files as large as 5 MB in EMS or XMS memory using E16. Using
disk space, E16 has been used with text files over 32 Mb!
E16 is equally adept at editing little stuff like batch files, source code
and .DOC files. Once I had the basic functions working, I used early
versions of E16 to develop the editor to its present form.
Recommended equipment:
EMS 4.0 or XMS memory
Hard disk
E16 Function key actions:
F1 exit E16 without saving file(s)
Warns if any changed files have not been saved.
F2 Undo small deletions
F3 print file or print marked block
Long print jobs will fill the printer's buffer and will result
in a 'Printer not ready' message. Press the 'Y' key to continue.
Long print jobs may be stopped with ^C, and any data remaining
in the printer's buffer may be printed with Alt-F3.
F4 toggle Mark mode
When Mark is ON, moving cursor will mark a section of text.
F5 Cut marked block from file, saving in Paste buffer
Paste buffer is limited to 64k bytes. E16 will warn you if
your marked block is too big.
see also Alt-F4, which copies marked block to Paste buffer
without cutting from file.
F6 copy contents of Paste buffer to file at current cursor location
F7 save file to disk
Previous file with same name is changed to filename.BAK if
sufficient disk space is available.
F8 delete from cursor location to end of line
F9 delete entire line
F10 Undelete end of line or entire line
(function keys, continued)
Alt-F1 clear current file buffer
Warns if the file has been changed and not saved.
Alt-F2 change screen rows on many monitors
25-, 29- and 43-row screens are possible with Hercules RamFont
12-, 25-, 29- and 43-row screens are available with EGA monitors
14-, 25-, 32- and 50-row screens are available with VGA monitors
Alt-F3 send Form Feed to printer
Alt-F4 copies marked block to Paste buffer
See also F4, F5, F6
Alt-F5 suspend E16 & go to DOS prompt
return to E16 by entering EXIT at DOS prompt
Alt-F6 change text to upper case
if Mark mode is OFF, changes character at cursor
if Mark mode is ON, changes entire marked block
Alt-F7 load file to active file buffer
If a file is already in the active file buffer, E16 will
warn if changes to the file have not been saved.
E16 prompts for a filename (old file name may be cleared with
Ctrl+End) and loads the file. If the filename includes the
? or * wildcard characters, a list of matching filenames is
shown on the screen, from which you may select.
When you have selected a new filename, the previous contents of
the active file buffer is lost.
Alt-F8 change screen columns on many monitors
40-, 80-, and 132-column modes are available on many EGA and VGA
systems, and 80- and 90-column displays are available on
Hercules RamFont systems.
Alt-F9 change text to lower case
if Mark mode is OFF, changes character at cursor
if Mark mode is ON, changes entire marked block
Alt-F10 search for selected text beginning at cursor location+1
search is case-sensetive if started with Enter
search is case-insensetive if started with Shift+Enter
(function keys, continued)
Ctrl-F4 save cursor location
you may return to the saved location from anywhere in the file
by using Ctrl-F5. Saved location is lost only if it is deleted.
Ctrl-F5 return to saved cursor location
Ctrl-F6 switch from 1-monitor operation to 2-monitor operation
Ctrl-F7 switch to another file buffer
other file appears on the other monitor if 2-monitor mode
Ctrl-F8 switch between 2-file and 4-file mode
In 2-file mode, Ctrl-F7 switches immediately between the active
file and the second file buffer.
In 4-file mode, the names of the files loaded are listed on the
screen, from which you may select.
Ctrl-F10 repeat previous search
Re-do previous search from current cursor location+1 with
previous search string and case sensetivity.
(function keys, continued)
Shift-F10 Search and replace
search is case-insensetive if the "Find" string is entered with
Shift+Enter, case sensetive if Enter only
Replace function is single-step if begun with Enter, continuous
if begun with Shift+Enter
The column number is shown in the lower right corner of the screen. Press
either Shift key to see the row number in the lower right corner.
Other handy keys:
Ctrl+End delete to end of line
Works just like F8.
Ctrl+Left jump left to next word
Ctrl+Right jump right to next word
PgUp move cursor up one screen
PgDown move cursor down one screen
Ctrl+PgUp go to top of file
Ctrl+PgDown go to end of file
Home go to start of line
End go to end of line
The cursor's position in the file is shown in the lower right
corner of the screen. Cursor column is normally displayed; press
either Shift key to see cursor row.
If you find E16 to be a useful tool, I'd appreciate a $15 contribution.
E16 source code is included with ASMLIB source code registration ($50).
You may copy E16.COM and E16.DOC freely and give them to anyone you wish,
but E16 or ASMLIB source code may not be re-distributed without my
permission.
Please address any questions, suggestions and dollars to:
Douglas Herr
P. O. Box 207
Sacramento, CA 95812
U. S. A.
telephone (916) 721-8762
CompuServe 71247,3542